//
//  UIImageView+BTimageView.m
//  BaxTer
//
//  Created by wsj2015 on 16/9/7.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "UIImageView+BTimageView.h"
#import "UIImageView+WebCache.h"
@implementation UIImageView (BTimageView)


- (void)bt_setImageWithUrl:(NSString *)urlStr{
   
    if (!urlStr) {
        return;
    }
    [self sd_setImageWithURL:[NSURL URLWithString:urlStr] placeholderImage:[UIImage imageNamed:@"暂无图片.jpg"] options:SDWebImageProgressiveDownload];
    
    
}
- (void)bt_setImageWithUrl:(NSString *)urlStr withPlacerHold:(NSString *)plachoder{
    
    if (!urlStr) {
        return;
    }
    [self sd_setImageWithURL:[NSURL URLWithString:urlStr] placeholderImage:[UIImage imageNamed:plachoder] options:SDWebImageProgressiveDownload];
}


@end
